package com.download.cn.download;
/**
 * 类功能描述：下载任务对象</br>
 *
 * @author zhuiji7
 * @email 470508081@qq.com
 * @version 1.0
 * </p>
 */
public class SQLDownLoadInfo {
    private String userID;
    private String taskID;
    private String url;
    private String filePath;
    private String fileName;
    private long fileSize;
    private long downloadSize;

    //需要存储到数据库的 额外的备选的字段,不一定使用
    private String extraArgs1;
    private String extraArgs2;
    private String extraArgs3;
    private String extraArgs4;
    private String extraArgs5;



    public String getUserID() {
        return userID;
    }
    public void setUserID(String userID) {
        this.userID = userID;
    }
    public String getTaskID() {
        return taskID;
    }
    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getFilePath() {
        return filePath;
    }
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    public String getFileName() {
        return fileName;
    }
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public long getFileSize() {
        return fileSize;
    }
    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }
    public long getDownloadSize() {
        return downloadSize;
    }
    public void setDownloadSize(long downloadSize) {
        this.downloadSize = downloadSize;
    }
    //
    public String getExtraArgs1() {
        return extraArgs1;
    }
    public void setExtraArgs1(String extraArgs1) {
        this.extraArgs1 = extraArgs1;
    }
    public String getExtraArgs2() {
        return extraArgs2;
    }
    public void setExtraArgs2(String extraArgs2) {
        this.extraArgs2 = extraArgs2;
    }
    public String getExtraArgs3() {
        return extraArgs3;
    }
    public void setExtraArgs3(String extraArgs3) {
        this.extraArgs3 = extraArgs3;
    }
    public String getExtraArgs4() {
        return extraArgs4;
    }
    public void setExtraArgs4(String extraArgs4) {
        this.extraArgs4 = extraArgs4;
    }
    public String getExtraArgs5() {
        return extraArgs5;
    }
    public void setExtraArgs5(String extraArgs5) {
        this.extraArgs5 = extraArgs5;
    }


    @Override
    public String toString() {
        return "SQLDownLoadInfo{" +
                "userID='" + userID + '\'' +
                ", taskID='" + taskID + '\'' +
                ", url='" + url + '\'' +
                ", filePath='" + filePath + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileSize=" + fileSize +
                ", downloadSize=" + downloadSize +
                ", extraArgs1='" + extraArgs1 + '\'' +
                ", extraArgs2='" + extraArgs2 + '\'' +
                ", extraArgs3='" + extraArgs3 + '\'' +
                ", extraArgs4='" + extraArgs4 + '\'' +
                ", extraArgs5='" + extraArgs5 + '\'' +
                '}';
    }
}
